<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .avatar {
        width: 200px;
        height: 200px;
        border: solid 4px skyblue;
        border-radius: 50%;
        background-image: url('./assets/01\ \(2\).jpg');
        background-position: top center;
        background-size: contain;
        cursor: pointer;
        position: relative;
      }
      .avatar::before,
      .avatar::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
      }
      .avatar::before {
        background-color: rgba(0, 0, 0, 0.66);
        clip-path: circle(50% at 50% 50%);
        transition: clip-path 0.6s;
      }
      .avatar:hover::before {
        clip-path: circle(0% at 50% 50%);
      }
    </style>
  </head>
  <body>
    <div class="avatar"></div>
  </body>
</html>
